home *** CD-ROM | disk | FTP | other *** search
- THIS IS AN UNFORMATTED PORTION OF THE MAKEBAT DOCUMENTATION, SO YOU CAN
- GET A BIT OF A FEEL FOR THE PROGRAM. SOME PARTS HAVE BEEN LEFT OUT.
-
- HIGHLIGHTS:
-
- MAKEBAT 1.02 is primarily for use with the program LOOK.
-
- It will take a list you created with LOOK, and blend that list into a
- functional batch file, that will carry out the commands you specify, and
- do it on every file contained in the list.
-
- When you get right down to it, thats really all you CAN do with MAKEBAT,
- use it on LOOK generated lists.
- **** At least for right now ****
-
- LEGAL STUFF:
-
- DISTRIBUTION:
-
- This copy of MAKEBAT is not to be distributed to others.
- Only Registered users of LOOK are authorized to use MAKEBAT.
-
- WARRANTY/GUARANTEE:
-
- Huh???
- This program is released "AS IS" there IS NO guarantee other than it
- =WILL= take up disk space. The author will NOT be responsible
- for any damage to your data, system, peace of mind or anything else.
-
- By using this program, YOU assume all responsability for its use.
-
- If you receive this or any other program developed by the author,
- on a magnetic medium, we =will= guarantee the quality of the medium that
- the program(s) are supplied on. Any defective disks will be replaced by
- the author, for a period of 90 days from date of purchase.
-
- As always, we try to produce bug free products, but occasionally one sneaks
- in. Should this be the case, I would like to hear about it, so the problem
- can be corrected as soon as possible.
- As to damage to your system or data, there should be none. Given the
- nature of this program, if data is deleted or misplaced its because
- YOU TOLD IT TO DO SO!
-
- FUTURE VERSIONS:
-
- The author, is not obligated to produce further versions of this program.
- The author also reserves the right to move =ANY= Shareware type software
- to the status of Commercial type software if he sees fit to do so.
-
-
- HOW TO USE:
-
- MAKEBAT ? - Presents a short help screen, just as a refresher.
- You can continue on to the Main Menu, or Exit from the Help
- Screen.
-
- MAKEBAT - Typing MAKEBAT alone, takes you to the Main Menu.
-
- You will be presented with several choices:
-
- (1) One Command Per File
- (2) Two Commands Per File
- (3) Three Commands Per File
- (4) Four Commands Per File
- (H) Help
- (Q) Quit
-
- Option:
-
- Press the key of your choice. Pressing an invalid key will sound a beep.
- (H) will take you to the Help Screen, where you may continue, or leave the
- program. and of course (Q) will put you back at the DOS prompt.
-
- Pressing (1,2,3,4) takes you to the menu where you set up the batch file
- creation.
-
- I should explain the commands per file. You actually enter two commands
- for each file, one goes at the beginning of the line, and one at
- the end.
- Two commands per file means you can have two command LINES for each file.
-
- I do belive some examples are due to be given.
-
- (1) would allow you to create a line such as this:
-
- COPY FileName A:\
-
- This would be written for each filename in the list.
-
- (2) would allow to create two lines, like this:
-
- COPY FileName A:\
- DEL Filename
-
- (4) might look like this:
-
- EDIT FileName
- COPY FileName A:\
- TYPE FileName PRN
- DEL FileNAme
-
- You might ask, "What's the big deal about that?"
- Well, if you wanted to copy all the files in the SAME directory to A:,
- then delete them all, two commands at the DOS prompt would suffice.
-
- But say, you wanted to copy ALL files with the extension .TXT, no matter
- WHERE on your Hard Drive they are, to the floppy in A:...THEN delete all
- those same files.....a little more time and effort...right?
-
- But with LOOK and MAKEBAT you can do all this quickly and painlessly, and
- in a lot less time. We will have a short Tutorial in a bit, first lets
- cover what you will be doing to create the batch file.
-
- Once you have chosen the option for one or two commands, you are taken to
- the creation screen.
-
- NOTE: All fields for information are limited as to how much information
- they will accept. You cannot enter more than is allowed. Should you
- attempt to do so, MAKEBAT will beep, and not accept the offending
- character.
- And while you are in each field, you have some editing keys available to
- you, and the
-
- Editing keys are -
- DeleteKey - Delete character at the cursor.
- LeftArrow - Nondestructive move cursor to the left.
- RightArrow - Nondestructive move cursor to the right.
- End - Move cursor to end of input string.
- Home - Move cursor to start of input string.
- Backspace - Delete character to the left of cursor.
- Ins - Toggles insert mode. Insert cursor is a block.
- Enter/Return - Accepts values as entered.
-
- Values may be entered in Upper or lower case letters, they are all changed
- to Upper case after you accept them. Except for the Display Message, this
- will be displayed "exactly" as you enter it.
-
- The first thing you are asked for is a name for the batch file.
- You can name it anything you want. Be advised, if a batch file with the
- same name already exists, it WILL be overwritten.
- You do NOT need to give the extension .BAT, it is automagically added.
- The name can be up to 8 characters long.
-
- Next you are asked for a message to display when the batchfile runs, it
- may be left blank. Length limit is 30. This line will be displayed to the
- screen when you run the batch file. If no message is specified, a blank
- line will be displayed.
-
- If you have any commands/Programs you want to run before and/or after the
- batch file has processed the list, enter them when prompted. Leave BLANK
- if you do not want to execute anything.
- You can actuall add another ECHO command for these lines if you wish.
-
- Now you are asked for the ListFile to use, if it resides in the directory
- you are currently in, the the name alone will do. If the list is another
- directory then you MUST give the complete path to it. It can be on another
- drive, just include the drive letter too, as in:
- A:\temp.lst
-
- Then we get to the meat of the matter, the commands.
-
- First you are asked for the BEGINNING command, this will be placed before
- the filename. Length limit is 15.
- Then you are asked for the ENDING command, this one will be placed after
- the file name. If BEGINNING is COPY and ENDING is A:\SAMPLE the resulting
- line would look like this: COPY FileName A:\ - written for each filename
- in the LOOK list. Length limit is 30.
-
- If you chose (2) commands per line, you will be prompted for the second
- line values, same as above, this follows for 3 & 4 commands also.
-
- Finally, you are asked if you want the >NUL added to each line, if you
- have used batch files much, you know what this does, if not, an
- explanation. Directing output to NUL, effectivly keeps DOS from
- displaying such things as - 1 file(s) copied - for each file it does a
- copy on. So if the batch file you are creating is going to copy a number
- of files, I suggest answering NO.
- Hitting ENTER here will automaticaly answer Yes.
-
- You will also be asked if you want the batch file to DELETE the LOOK!
- list, after processing is done.
-
- After all the above values have been entered, you will be asked to confirm
- your entries. Check them over, then answer Yes to continue, No to change
- them, or Exit to return to the opening menu.
-
- If you choose Yes, the process will begin. When its completed, you will be
- informed of that fact, and returned to the Main screen, where you can
- create another batch file or exit.
-
- A TUTORIAL:
-
- Lets create a simple batch file, also a SAFE one, we don't want to mess
- up your files during a learning session. This is a step by step example,
- please follow the steps carefuly.
-
- 1. Fire up LOOK in interactive mode, have it create a list of all the .TXT
- files on whichever drive you have or want to use. You can also use some
- other search text, I use .TXT as an example.
-
- 2. Once the list has been created, fire up MAKEBAT and select (1) for one
- command per file.
- For the name enter BLAST, (ok, use something else then..)
- For the Message, enter: A MAKEBAT Dry Run!
- For the BEGINNING command enter: Echo
- For the ENDING command, just hit ENTER, we don't need one for this.
- When asked to include the >NUL answer No, we definetly want everything
- displayed on the screen.
-
- Now, if you're done all as I asked, Answer Yes at the confirmation
- prompt.......Walla! you're done.
-
- Quit MAKEBAT, and at the DOS prompt type BLAST ( unless you named it
- something else)...what should happen now, is your BLAST.BAT will simply
- type out each and every filename that was in the LOOK list to your
- screen. Pretty quick and simple heh?
-
- AUTO ADDED LINES:
-
- MAKEBAT automaticaly adds some lines to the batchfile while creating it.
- It writes a couple of information lines at the beginning, giving the name
- of the List used and some program information.
-
- It inserts the @Echo Off command, and also the Cls command.
- The Cls clears the screen at startup, the @Echo Off assures that the DOS
- commands are not echoed to the screen. (DOS 3.0 and later)
-
- At the bottom of the batch file it writes an End Of File marker line.
-
- That should about cover it, with some experimentation, I'm sure you can
- come up with some nifty ways to use LOOK and MAKEBAT to help you make you
- computing easier!
-
-
- For Support information please refer to LOOK.DOC
-
-